<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../public/public.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>华南交通工程技术</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<script type="text/javascript" src="<%=path%>/js/commom/jquery.js">
</script>
		<script type="text/javascript" src="<%=path%>/js/commom/util.js">
</script>
		<script type="text/javascript" src="<%=path%>/js/commom/validate.js">
</script>

<link rel="stylesheet" type="text/css" href="<%=path %>/css/hngg.css">



		<script>
function funcSubMenu(nn) {
	if (!document.all(nn))
		return;
	if (document.all(nn).style.display == 'none')
		document.all(nn).style.display = ""
	else
		document.all(nn).style.display = "none"
}

function gotoDetial(num) {
	var parm = "<%=path%>/periodical/periodical_showDetail.action?method=showDetail&param="+ num;	
	window.location.href = parm;
}

function add() {
	alert("aaa");
	
}
</script>
	</head>

	<body>
		
		<div style="text-align: right;width: 95%;"><input type="button" value="添加期刊" onclick="add();"/></div>
		<center>
		<div style="font-size:16px;font-size:16px;font-weight:bold;color:blue;">华南港工</div>
		
		<table width="95%">
			<% int trIndex = 1; %>
			<s:iterator value="_map" id="_obj" >
				<tr onclick="funcSubMenu('tr<%=trIndex %>');return false;">
					<td bgcolor="#CACAA7" height="30">
						&nbsp;<img src="<%=path %>/images/036.gif" width="9" height="9">&nbsp;
						<a style="font-weight: bold;font-size: 14px;">${_obj.key}</a>
					</td>
					
				</tr>
				
				<tr id="tr<%=trIndex %>" style="display: '';">
					<%
						int index = 1;
					%>
					<td>
						<table width="100%" cellspacing="1" cellpadding="5">
							<s:iterator value="#_obj.value" id="_tar">
								<tr>
									<td bgcolor="WhiteSmoke" align="center" style="width: 25%;">
										第&nbsp;&nbsp;<%=index++ %>&nbsp;&nbsp;期
									</td>
									<td bgcolor="WhiteSmoke" align="center" style="width: 75%;">
										${_tar.magazineName}
									</td>
								</tr>	
							</s:iterator>				
						
						
						</table>
					</td>
				</tr>
				<% trIndex ++; %>
				
			</s:iterator>

		</table>
</center>

	</body>
</html>
